<template>
  <div>
    <el-button type="primary" size="default" @click="onClick"
      >点击通过observable触发B组的方法</el-button
    >
  </div>
</template>
<script>
import { state, mutations } from '@/assets/scripts/observable';
export default {
  methods: {
    onClick() {
      mutations.setCountAdd1();
      mutations.runFun();
    },
  },
};
</script>

